﻿@model kxcxw.Data.Entities.InformationReview
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.HiddenFor(model => model.InformationID, new { @Id = "InformationID" });
                    
    @Html.TextAreaFor(model => model.ReViewContent, new { @class = "tie-textarea", @focucmsg = "文明上网，请您发表评论"});
    @Html.ValidationMessageFor(model => model.ReViewContent);
                    
                   
    <dt>网友评论仅供其表达个人看法，并不表明开心促销网同意其观点或证实其描述。
        <input type="submit" onclick="cleardefaultText();" value="发表评论" />
    </dt>
}
<script type="text/javascript">
    function cleardefaultText() {
        var textobj = document.getElementById("ReViewContent");
        if (textobj.value == "文明上网，请您发表评论") {
            textobj.value = "";
        }
    }
</script>